<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<header>
	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
				<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".navbar-collapse">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#">Cblog</a>
			</div>
			<div class="navbar-collapse collapse" role="navigation">
				<ul class="nav navbar-nav">
				
					<!-- 带下拉列表的导航菜单 -->
					<!-- <li class="dropdown"><a href="javascript:void(0)"
						class="dropdown-toggle" data-toggle="dropdown">Bootstrap3中文文档<b
						class="caret"></b></a>
						<ul class="dropdown-menu">
							<li>
								<a href="#">test1<span class="badge">50</span></a>
							</li>
							<li>
								<a href="#">test2</a>
							</li>
						</ul>
					</li> -->
					
					<li><a href="${pageContext.request.contextPath}/home"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;首页</a></li>
					<li><a href="${pageContext.request.contextPath}/category"><span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>&nbsp;分类</a></li>
					<li><a href="${pageContext.request.contextPath}/archive"><span class="glyphicon glyphicon-inbox" aria-hidden="true"></span>&nbsp;归档</a></li>
					<li><a href="${pageContext.request.contextPath}/msg?action=leaveMsg"><span class="glyphicon glyphicon-leaf" aria-hidden="true"></span>&nbsp;留言</a></li>
					<li><a href="${pageContext.request.contextPath}/about"><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>&nbsp;关于</a></li>
					<li><a href="${pageContext.request.contextPath}/login.jsp"><span class="glyphicon glyphicon-user" aria-hidden="true"></span>&nbsp;登录</a></li>
				</ul>
				<form class="navbar-form navbar-right">
					<div class="form-group">
						<input type="text" placeholder="Search" class="form-control">
					</div>
					<button type="submit" class="btn btn-success">Go</button>
				</form>
			</div>
		</div>
	</nav>
</header>